<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<style type="text/css">
			*{margin: 0;padding: 0;}
			html{
				font-size: 62.5%;
			}
			#all{
				min-width: 28rem;
				max-width: 100rem;
				margin: 0 auto;
			}
			.head{
				color: white;
				min-height: 5rem;
				background-color: #e6071b;
				margin: 0 auto;
			}
			.head ul{
				margin: 0 auto;
				min-height: 5rem;
				position: relative;
			}
			.head li{
				width: 8rem;
				text-align: center;
				float: left;
				min-height: 5rem;
				line-height: 5rem;
			}
			.head li:nth-of-type(2){
				position: absolute;
				top: 0;
				width: 100%;
				margin: 0 auto;
				text-align: center;
			}
			.head li:nth-of-type(3){
				float: right;
				}
			li{
				list-style: none;
			}
			.body{
				margin: 0 auto;
			}
			.body li{
				margin: 0 auto;
				clear: both;
				height:12rem;
				border-bottom: 1px solid darkgrey;
			}
			.left{
				margin: 1rem auto;
				height: 10rem;
				float: left;
			}
			.right{
				margin: 1rem 2rem;
				height: 10rem;
				float: left;
				font-size: 1.8rem;
				padding-top: 3rem;
			}
			.left img{
				width: 10rem;
				height: 10rem;
				margin-left: 1rem;
			}
			.new{
				color: #E6071B;
				margin-top: 1.2rem;
				margin-right: 2rem;
			}
			.old{
				color: darkgrey;
				text-decoration: line-through;
			}
		</style>
	</head>
	<body>
		<div id="all">
			<div class="head">
				<ul>
					<li>＜</li>
					<li>浏览记录</li>
					<li>清空</li>
				</ul>
			</div>
			<div class="body">
				<ul>
					<li>
						<div class="left">
							<img src="../img/pin1.jpg"/>
						</div>
						<div class="right">
							<p>产品一</p>
							<div><span class="new">￥1200</span><span class="old">￥1500</span></div>
						</div>
					</li>
					<li>
						<div class="left">
							<img src="../img/pin3.jpg"/>
						</div>
						<div class="right">
							<p>产品二</p>
							<div><span class="new">￥1500</span><span class="old">￥1800</span></div>
						</div>
					</li>
					<li>
						<div class="left">
							<img src="../img/pin5.png"/>
						</div>
						<div class="right">
							<p>产品三</p>
							<div><span class="new">￥1800</span><span class="old">￥2000</span></div>
						</div>
					</li>
				</ul>
			</div>
		</div>
		<script src="../js/jquery-1.11.0.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			$(function(){
				window.onresize=function(){
					var wid=$(window).width();
					var hei=wid/375*10;
					$("html").css("font-size",parseInt(hei,10)+"px");
				}
			})
		</script>
	</body>
</html>
